Automattic\Jetpack\Connection\REST_Connector B

Total Complexity 79
Dependencies 15
Dependents 3
Total lines 829
Lines of code 477
Logical lines of code 161
Comment lines 242
Methods 22
Properties 2

Methods 22

Method Rating Maintainability Complexity Lines of code
__construct()
A
30 5 173
connection_register()
A
47 10 33
is_request_signed_by_jetpack_debugger()
A
50 9 27
get_user_connection_data()
S
44 6 45
connection_reconnect()
S
52 7 26
update_user_token()
S
51 7 24
connection_status()
S
50 5 27
get_connection_plugins()
S
59 3 16
connection_plugins_permission_check()
S
65 3 9
set_connection_owner()
S
62 2 12
disconnect_site()
S
61 2 12
update_user_token_permission_check()
S
72 2 5
connection_authorize_url()
S
65 2 9
jetpack_reconnect_permission_check()
S
69 2 6
jetpack_register_permission_check()
S
69 2 6
user_connection_data_permission_check()
S
65 2 10
disconnect_site_permission_check()
S
65 2 10
activate_plugins_permission_check()
S
69 2 6
remote_authorize()
S
66 2 8
set_connection_owner_permission_check()
S
69 2 6
get_user_permissions_error_msg()
S
80 1 3
verify_registration()
S
75 1 4